﻿

using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Profile;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
using Gift.Model;
using Gift.DAL;
using Gift.Model.ENUM;

namespace WebSite.admin.product
{
    public partial class goodsAdd : BaseAdmin
    {
     

        protected void Page_Load(object sender, EventArgs e)
        {
          
         
            if (!base.IsPostBack)
            {
                base.ValidateLoginRule(ERule.AddNewProduct);
                string paraPid = "";
                if(!string.IsNullOrEmpty(Request.QueryString["gid"]))
                {
                    paraPid = "?gid=" + Request.QueryString["gid"];
                }
                this.Tab1.IFrameUrl = "goodsAdd01.aspx" + paraPid;
                this.Tab2.IFrameUrl = "goods_add02.aspx" + paraPid;
                this.Tab3.IFrameUrl = "goods_add03.aspx" + paraPid;
                this.Tab4.IFrameUrl = "goods_add04.aspx" + paraPid;
                this.Tab5.IFrameUrl = "goods_add05.aspx" + paraPid;
                this.Tab6.IFrameUrl = "goods_add07.aspx" + paraPid;
                this.Tab8.IFrameUrl = "goodsCardType.aspx" + paraPid;
                this.Tab9.IFrameUrl = "goodsCard.aspx" + paraPid;
              //  this.Tab10.IFrameUrl = "goods_add09.aspx" + paraPid;
                this.Tab11.IFrameUrl = "goods_add10.aspx" + paraPid;
               
            }
        }


       

       

    }
}